rows and columns in nested for loop

join shbcf.ru